package com.huwaiwai001.map;

/**
 * Created by hww on 2018/12/18 12:12 AM.
 */
public class Test {

    public static void main(String [] args) {
        MyHashMap<String, Integer> map = new MyHashMap<>();
        map.put("1", 1);
        map.put("2", 2);
        map.put("3", 1);
        map.put("4", 2);
        map.put("5", 1);
        map.put("6", 2);
        map.put("7", 1);
        map.put("8", 2);

        System.out.println(map.get("1"));
        System.out.println(map.get("2"));

        map.put("2", 3);
        System.out.println(map.get("2"));
    }


}
